<script setup>
import { ref } from "vue";

const active = ref("/app");
</script>

<template>
	<div>
		<div>
			<router-view />
		</div>
		<div style="z-index: 100">
			<van-tabbar v-model="active">
				<van-tabbar-item replace to="/app" name="app" icon="home-o">应用 </van-tabbar-item>
				<van-tabbar-item replace to="/order" name="order" icon="search">乘车记录 </van-tabbar-item>
				<van-tabbar-item replace to="/me" name="me" icon="friends-o">我的 </van-tabbar-item>
			</van-tabbar>
		</div>
	</div>
</template>

<style scoped></style>
